package com.lzm.ydpt.entity.payresult;

/**
 * Created by tom on 2018/3/3.
 * 微信支付类
 */
public class PayBean {

    private static final long serialVersionUID = -211018191629342101L;
    private String order_id;
    private String appid; // :微信分配的公众账号ID
    private String partnerid; //:微信支付分配的商户号
    private String prepayid; // :微信返回的支付交易会话ID
    private String wx_package;//:暂填写固定值Sign=WXPay
    private String noncestr; // :随机字符串，不长于32位。推荐随机数生成算法
    private String timestamp; //:时间戳，请见接口规则-参数规定
    private String sign; //:签名，详见签名生成算法
    private String alipay_str;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getPartnerid() {
        return partnerid;
    }

    public void setPartnerid(String partnerid) {
        this.partnerid = partnerid;
    }

    public String getPrepayid() {
        return prepayid;
    }

    public void setPrepayid(String prepayid) {
        this.prepayid = prepayid;
    }

    public String getWx_package() {
        return wx_package;
    }

    public void setWx_package(String wx_package) {
        this.wx_package = wx_package;
    }

    public String getNoncestr() {
        return noncestr;
    }

    public void setNoncestr(String noncestr) {
        this.noncestr = noncestr;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getAlipay_str() {
        return alipay_str;
    }

    public void setAlipay_str(String alipay_str) {
        this.alipay_str = alipay_str;
    }

    @Override
    public String toString() {
        return "PayBean{" +
                "order_id='" + order_id + '\'' +
                ", appid='" + appid + '\'' +
                ", partnerid='" + partnerid + '\'' +
                ", prepayid='" + prepayid + '\'' +
                ", wx_package='" + wx_package + '\'' +
                ", noncestr='" + noncestr + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", sign='" + sign + '\'' +
                ", alipay_str='" + alipay_str + '\'' +
                '}';
    }
}